namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// ——配置堆垛机 - 堆垛机出库放胎位  任务限制
    /// </summary>
    public DbSet<POWcsAsrsCrnOutput> WcsAsrsCrnOutputs { get; set; }
}

/// <summary>
/// ——配置堆垛机 - 堆垛机出库放胎位  任务限制
/// 表[wcs_asrs_crn_output]
/// </summary>
[Table("wcs_asrs_crn_output")]
public class POWcsAsrsCrnOutput
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[wcs_asrs_crn_output.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 区域Id
    /// [wcs_asrs_crn_output.area_id)]
    /// </summary>
    [Column("area_id")]
    public long? AreaId { get; set; }
    /// <summary>
    /// 堆垛机Id
    /// [wcs_asrs_crn_output.crn_id)]
    /// </summary>
    [Column("crn_id")]
    public long? CrnId { get; set; }
    /// <summary>
    /// 出库站台1
    /// [wcs_asrs_crn_output.output_loc1)]
    /// </summary>
    [Column("output_loc1")]
    public long? OutputLoc1 { get; set; }
    /// <summary>
    /// 出库站台2
    /// [wcs_asrs_crn_output.output_loc2)]
    /// </summary>
    [Column("output_loc2")]
    public long? OutputLoc2 { get; set; }
    /// <summary>
    /// 创建时间
    /// [wcs_asrs_crn_output.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [wcs_asrs_crn_output.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [wcs_asrs_crn_output.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
    /// <summary>
    /// 出库限制任务数量>(堆垛机可执行的出库任务)
    /// [wcs_asrs_crn_output.task_count)]
    /// </summary>
    [Column("task_count")]
    public int? TaskCount { get; set; }
    /// <summary>
    /// 1:异常出库；0:正常
    /// [wcs_asrs_crn_output.loc_type)]
    /// </summary>
    [Column("loc_type")]
    public int? LocType { get; set; }
    /// <summary>
    /// 南：S ；北: N
    /// [wcs_asrs_crn_output.direction)]
    /// </summary>
    [Column("direction")]
    public string Direction { get; set; }
    /// <summary>
    /// [wcs_asrs_crn_output.remark)]
    /// </summary>
    [Column("remark")]
    public string Remark { get; set; }
    /// <summary>
    /// [wcs_asrs_crn_output.reason)]
    /// </summary>
    [Column("reason")]
    public string Reason { get; set; }
    /// <summary>
    /// [wcs_asrs_crn_output.show_name)]
    /// </summary>
    [Column("show_name")]
    public string ShowName { get; set; }
}
